;;; GNU Guix --- Functional package management for GNU
;;;
;;; Copyright © 2022 jgart <jgart@dismail.de>
;;; This file is not part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (guixrus packages lfe)
  #:use-module (guix build-system rebar)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix utils)
  #:use-module (gnu packages))

(define-public lfe
  (package
    (name "lfe")
    (version "2.0.1")
    (source (origin
              (method url-fetch)
              (uri (hexpm-uri "lfe" version))
              (sha256
               (base32
                "17sys90sn2i3lg5sz1sdwx5931rv50jhv15c9k0qccb1vwr9gsn3"))))
    (build-system rebar-build-system)
    (arguments (list #:tests? #f))
    (synopsis "Lisp Flavoured Erlang")
    (description
"@code{lfe}, Lisp Flavoured Erlang, is a lisp syntax front-end to the
Erlang compiler. Code produced with it is compatible with normal Erlang
code. An @code{lfe} evaluator and shell is also included.")
    (home-page "https://lfe.io/")
    (license license:asl2.0)))

